import request from '@/utils/request'

// 预约记录列表
export const getReservationRecordList = (params) => {
  return request({
    method: 'post',
    url: '/visitor/appointment/query',
    data: params,
  })
}

// 预约详情
export const reservationRecordDetail = (params) => {
  return request({
    method: 'get',
    url: '/visitor/appointment/get',
    params: params,
  })
}

// 预约审核
export const visitorCheck = (params) => {
  return request({
    method: 'post',
    url: '/visitor/appointment/check',
    data: params,
  })
}
